import request from "../utils/request"

function getUserInfo(data){
    return request({
        url:'/api/userinfo',
        method:'post',
        data
    })
}
function getAuthCode(){
    return request({
        url:'/api/getAuthCode',
        method:'post'
    })
}
function Login(data){
    return request({
        url:'/api/login',
        method:'post',
        data
    })
}
function getHouseList(data){
    return request({
        url:'/api/gethouselist',
        method:'post',
        data
    })
}
export{
    getUserInfo,
    getAuthCode,
    Login,
    getHouseList
}